package router

import (
	"leetcode-problem-set/gorm/controllers"

	"github.com/gin-gonic/gin"
)

func Router() {
	r := gin.Default()
	r.GET("/hello", controllers.Hello)
	v1 := r.Group("/user")
	//用户登录
	v1.POST("/singup", controllers.UserSingup)
	v1.POST("/login", controllers.UserLogin)
	{

	}
	r.Run("127.0.0.1:9090")
}
